home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / bash_completion.d / snownews < prev    next >
Text File  |  2009-04-02  |  440b  |  20 lines

  1. # -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
  2. # ex: ts=8 sw=8 noet filetype=sh
  3. #
  4. # snownews completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
  5.  
  6. _snownews()
  7. {
  8.     local cur
  9.  
  10.     COMPREPLY=()
  11.     cur=`_get_cword`
  12.  
  13.     if [[ "$cur" == -* ]]; then
  14.         # return list of available options
  15.         COMPREPLY=( $( compgen -W '--update --help --version \
  16.                   --disable-versioncheck -u -h -V' -- $cur))
  17.     fi
  18. }
  19. complete -F _snownews snownews
  20.